   it 'should not be valid', ->
     assert.ifError iterator.valid()
 
-  it 'should seek to key 200', ->
-    iterator.seekSync '200'
+  it 'should seek last key', ->
+    iterator.lastSync()
 
   it 'should get values in reverse', ->
     for i in [200..100]

  it 'should not be valid', ->
    assert.ifError iterator.valid()

  it 'should seek to key 200', (done) ->
    iterator.seek '200', done

  it 'should get values in reverse', (done) ->
    testNext = (i) ->
      iterator.next (err, key, val) ->
        assert.ifError err
        assert.equal "#{i}", key
        assert.equal value, val

  iterator = null
  value = 'Hello World'

  it 'should open database', (done) ->
    leveldb.open filename, create_if_missing: true, (err, handle) ->
      db = handle
      done()

  it 'should insert batch data', ->
    batch = new leveldb.Batch
