             $httpBackend.whenGET(url).respond(JSON.stringify(_items: [mock.subject]))
 
             # The mock subject http call.
-            url = encodeURI('/api/subject/a')
+            url = encodeURI('/api/subject/s1')
             $httpBackend.whenGET(url).respond(JSON.stringify(mock.subject))
 
             # The mock session-detail http call.
-            url = encodeURI('/api/session-detail/b')
+            url = encodeURI('/api/session-detail/sd1')
             $httpBackend.whenGET(url).respond(JSON.stringify(mock.session_detail))
+
+            # The mock scan protocol http call.
+            url = encodeURI('/api/scan-protocol/sp1')
+            $httpBackend.whenGET(url).respond(JSON.stringify(mock.scan_protocol))
+
+            # The mock registration protocol http call.
+            url = encodeURI('/api/registration-protocol/rp1')
+            $httpBackend.whenGET(url).respond(JSON.stringify(mock.registration_protocol))
+
+            # The mock modeling protocol http call.
+            url = encodeURI('/api/modeling-protocol/mp1')
+            $httpBackend.whenGET(url).respond(JSON.stringify(mock.modeling_protocol))
         ]
 
       afterEach ->


      # The mock objects.
      mock =
        subject:
          _id: 'a'
          project: 'QIN_Test'
          collection: 'Breast'
          number: 1
          birth_date: moment('August 21, 1986').valueOf()
          scan_sets:
            t1:
              registration:
                reg_01:
                  modeling:
                    pk_01:
                      results: [
                        delta_k_trans:
                          average: 2.3
                      ]
                reg_02:
                  modeling:
                    pk_02:
                      results: [
                        delta_k_trans:
                          average: 2.1
                      ]
              modeling:
                pk_03:
                  results: [
                    delta_k_trans:
                      average: 2.6
                  ]
          sessions: [
            number: 1
            acquisition_date: moment('July 1, 2013').valueOf()
            detail: 'b'
          ]
          encounters: [
            _cls: 'Biopsy'

          ]

        session_detail:
          _id: 'sd1'
          scans: [
            {
              number: 1
              protocol: 'sp1'
              volumes: [
                {
                  number: 1
                  average_intensity: 2.4
                }
              ]  
              registrations: [
                {
                  resource: 'reg_01'
                  protocol: 'rp1'
                  volumes: [
                    {
                      number: 1
                      average_intensity: 3.1
                    }
                  ]
                }
              ]
            }
          ]
              

      beforeEach ->
        # Fake the router service module.
