leveldb test improved