 
     it 'Ensure the correct value is returned', (done) ->
       MODEL_TYPE.find {$one: true}, (err, model) ->
-        assert.ok(!err, 'no errors')
+        assert.ok(!err, "No errors: #{err}")
         assert.ok(!!model, 'model')
 
         app = express(); app.use(express.bodyParser())

        .get("/#{ROUTE}?$page&$limit=#{LIMIT}")
        .set('Accept', 'application/json')
        .end (err, res) ->
          assert.ok(!err, 'no errors')
          assert.ok(!!data = res.body, 'got data')
          assert.ok(data.rows, 'received models')
          assert.equal(data.total_rows, MODELS_JSON.length, 'has the correct total_rows')

        .query({$page: true, $limit: LIMIT})
        .set('Accept', 'application/json')
        .end (err, res) ->
          assert.ok(!err, "No errors: #{err}")
          assert.ok(!!data = res.body, 'got data')
          assert.ok(data.rows, 'received models')
          assert.equal(data.total_rows, MODELS_JSON.length, 'has the correct total_rows')
