           it 'should not have a blank non-percent change value', ->
             modelingTables.then (tables) ->
               for table, tblNdx in tables
-                table.body.then (rows) ->
+                table.body().then (rows) ->
                   for columns, rowNdx in rows
                     # The odd columns hold non-percent change values.
                     for colNdx in _.range(1, columns.length, 2)

              # The KTrans table is the first table.
              tables = _.rest(tables)
              for table, tblNdx in tables
                table.body.then (rows) ->
                  for row, rowNdx in rows
                    expect(row.length,
                           "The table #{ tblNdx + 2 } row #{ rowNdx + 1 }" +


        # There are three modeling tables, one for each PK modeling
        # property.
        it 'should have three modeling parameter tables', ->
          modelingTables.then (tables) ->
            # The modeling tables exists.
            expect(tables, 'The modeling parameter tables are missing')
              .to.exist.and.not.be.empty
            expect(tables.length,
                   'The modeling parameter table count is incorrect')
              .to.equal(3)
        
        describe 'Properties', ->
          it 'should display the column headers', ->
            modelingTables.then (tables) ->
              for table, tblNdx in tables
                table.header().then (headings) ->
                  for heading, hdgNdx in headings 
                    expect(heading, "Table #{ tblNdx + 1 } is missing column" +
                                    " heading #{ hdgNdx + 1 }")
                      .to.exist.and.not.be.empty
          
          it 'should have four Breast patient visits', ->
            modelingTables.then (tables) ->
              for table, tblNdx in tables
                table.body().then (rows) ->
                  expect(rows.length,
                         "Table #{ tblNdx + 1 } row count is incorrect")
                    .to.equal(4)
          
          it 'should show the visit dates', ->
            modelingTables.then (tables) ->
              # The expected visit dates are the first column of the first
              # table.
              referenceTable = _.first(tables)
              expected = null
              referenceTable.body().then (rows) ->
                expected = (_.first(columns) for columns in rows)
                for date, rowNdx in expected
                  expect(date,
                         "The table 1 row #{ rowNdx + 1 } visit date is missing")
                    .to.exist
                # The date values for every remaining table should be
                # consistent with those of the first table.
                for table, tblNdx in _.rest(tables)
                  table.body().then (rows) ->
                    for columns, rowNdx in rows
                      date = _.first(columns)
                      expect(date,
                             "The table #{ tblNdx + 2 } row #{ rowNdx + 1 }" +
                             " visit date is missing")
                        .to.exist
                      expect(date,
                             "The table #{ tblNdx + 2 } row #{ rowNdx + 1 }" +
                             " visit date is incorrect")
                        .to.equal(expected[rowNdx])
                          
          it 'should have seven Ktrans table columns', ->
            modelingTables.then (tables) ->
              # The KTrans table is the first table.
              table = _.first(tables)
              table.body().then (rows) ->
                for row, rowNdx in rows
                  expect(row.length, "The Ktrans table row #{ rowNdx + 1 }" +
                                     " column count is incorrect").to.equal(7)
