unit test for rocksdb.