     it 'Handles a find unique query on one field', (done) ->
       Flat.cursor({$unique: 'name'}).toJSON (err, results) ->
         assert.ifError(err)
-        assert.equal(results.length, BASE_COUNT, "finds no extra results")
+        assert.equal(results.length, BASE_COUNT, 'finds no extra results')
         done()
 
     it 'Handles a find unique query on one field and gives the correct result with sort', (done) ->
       Flat.cursor({$unique: 'name'}).select('created_at', 'updated_at').sort('-updated_at').limit(1).toJSON (err, results) ->
         assert.ifError(err)
-        assert.equal(results.length, 1, "finds no extra results")
+        assert.equal(results.length, 1, 'finds no extra results')
         retrieved_clone = results[0]
         assert.equal(retrieved_clone.created_at, null, "loaded model has no created_at")
         assert.equal(retrieved_clone.updated_at.getTime(), new_updated_at.getTime(), "finds the correct model")

    it 'Handles a find unique query on name with $values name', (done) ->
      Flat.cursor({$unique: ['name'], $values: ['name']}).toJSON (err, results) ->
        assert.ifError(err)
        assert.equal(results.length, BASE_COUNT, "finds no extra results")
        for result in results
          assert.ok(!_.isObject(result), "finds only the $selected field")
        done()

    it 'Handles a find unique query on name with $select name', (done) ->
      Flat.cursor({$unique: ['name'], $select: ['name']}).toJSON (err, results) ->
        assert.ifError(err)
        assert.equal(results.length, BASE_COUNT, 'finds no extra results')
        for result in results
          assert.equal(_.keys(result).length, 1, "finds only the $selected field")
          assert.equal(_.keys(result)[0], 'name', "finds only the $selected field")
