test KV for leveldb