Introducing in-memory leveldb for testing.