Fixed Rocksdb and tests