         subject_detail:
           _id: 'a'
           birth_date: moment([1961, 6, 7]).valueOf()
+          scan_sets:
+            t1:
+              modeling:
+                results: [
+                  delta_k_trans:
+                    average: 2.6
+                ]
+            t2:
+              modeling:
+                results: [
+                  delta_k_trans:
+                    average: 2.4
+                ]
+          registration_configurations:
+            reg_01:
+              modeling:
+                results: [
+                  delta_k_trans:
+                    average: 2.3
+                ]
+            reg_02:
+              modeling:
+                results: [
+                  delta_k_trans:
+                    average: 2.1
+                ]
           sessions: [
             number: 1
             acquisition_date: moment('July 1, 2013').valueOf()
             detail: 'b'
-            modeling: [
-              name: 'pk_aUjr'
-              image_container_name: 'reg_8L3W'
-              fxl_k_trans:
-                average: 2.3
-              fxr_k_trans:
-                average: 2.5
-              delta_k_trans:
-                average: 2.3
-                filename: 'data/Breast001/Session01/delta_k_trans.nii.gz'
-                overlay:
-                  filename: 'data/Breast001/Session01/delta_k_trans_color.nii.gz'
-                  color_lut: 'etc/jet_colors.txt'
-            ]
           ]
           encounters: [
             _cls: 'Biopsy'

        it 'should find the scan container in a fetched session', ->
          session = _.clone(mock_session)
          session.scans = mock.session_detail.scans
          actual = Router.getScan(session, 't1')
          expect(actual, 'Image container missing').to.exist
          expect(actual, 'Image container incorrect')
            .to.equal(mock.session_detail.scans.t1)

        it 'should fetch a session if necessary to obtain the scan', ->
          session = _.omit(mock_session, 'detail')
          session.subject = _.clone(mock.subject)
          mock_scan = mock.session_detail.scans.t1
          Router.getScan(session, mock_scan.name).then (container) ->
            expect(container, 'Image container missing').to.exist
            expect(container.intensity, 'Image container intensity incorrect').
              to.eql(mock_scan.intensity)
          
          # Dispatch the backend request.
          $httpBackend.flush()

        $httpBackend.verifyNoOutstandingExpectation()
        $httpBackend.verifyNoOutstandingRequest()

      describe 'Subject', ->
        subject = null

        beforeEach ->
          subject = _.clone(mock.subject)

        # Validates the resolved subject.
        validate = (subject) ->
          # There should be an age.
