       opts = {poll}
 
       it 'returns a result it already applies to', (done) -> @create {x:5}, =>
-        @collection.query {'data.x':5}, opts, (err, emitter) =>
+        @collection.query {'x':5}, opts, (err, emitter) =>
           expected = [docName:@docName, data:{x:5}, type:otTypes.json0.uri, v:1, c:@cName]
           assert.deepEqual emitter.data, expected
           emitter.destroy()
           done()
 
       it 'gets an empty result set when you query something with no results', (done) ->
-        @collection.query {'data.xyz':123}, opts, (err, emitter) ->
+        @collection.query {'xyz':123}, opts, (err, emitter) ->
           assert.deepEqual emitter.data, []
           emitter.on 'add', -> throw new Error 'should not have added results'
 

          @create {x:5}

      it 'remove an element that no longer matches', (done) -> @create {x:5}, =>
        @collection.query {'data.x':5}, opts, (err, emitter) =>
          emitter.on 'remove', (doc, idx) =>
            assert.strictEqual idx, 0
            assert.strictEqual doc.docName, @docName

            done()

      it 'adds an element when it matches', (done) ->
        @collection.query {'x':5}, opts, (err, emitter) =>
          emitter.on 'add', (data, idx) =>
            assert.deepEqual data, {docName:@docName, v:1, data:{x:5}, type:otTypes.json0.uri}
            assert.strictEqual idx, 0
