Iterator<Entry<byte[], byte[]>> it = db.rangeLookup(0, new byte[0], new byte[0], null).get();
for (int i = 1000; i < 2000; i++)
assertEquals(i + "", new String(it.next().getValue()));
assertFalse(it.hasNext());
it = db.rangeLookup(0, "1500".getBytes(), "1600".getBytes(), null).get();
for (int i = 1500; i < 1600; i++)
assertEquals(i + "", new String(it.next().getValue()));
assertFalse(it.hasNext());
database.getCheckpointer().checkpoint();