testing leveldb implementation