 
   it 'should close database', (done) ->
     db.close done
-    db = null
 
   it 'should not get values', ->
     assert.throws -> iterator.first()

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

  it 'should seek to key 200', ->
    iterator.seekSync '200'

  it 'should get values in reverse', ->
    for i in [200..100]

  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
