assertNull(snap1.lookup(0, "yagga".getBytes(), null).get());
assertEquals("v1", new String(snap1.lookup(3, "foo".getBytes(), null).get()));
assertEquals("v2", new String(snap1.lookup(3, "bar".getBytes(), null).get()));
assertNull(snap1.lookup(0, "test2".getBytes(), null).get());
Iterator<Entry<byte[], byte[]>> it = snap1.prefixLookup(0, null, null).get();
Entry<byte[], byte[]> next = it.next();
assertEquals("test", new String(next.getKey()));
assertEquals("v2", new String(next.getValue()));
next = it.next();
assertEquals("testxyz", new String(next.getKey()));