int snapId = tree.createSnapshot();
tree.materializeSnapshot(SNAP_FILE, snapId);
tree.linkToSnapshot(SNAP_FILE);
for (byte[] key : map.keySet())
assertEquals(new String(map.get(key)), new String(tree.lookup(key)));
assertEquals(new String(map.firstKey()), new String(tree.firstEntry().getKey()));
// insert some more keys-value pairs
byte[][] newKeys = new byte[][] { "00001".getBytes(), "00006".getBytes(), "00002".getBytes(),
"00007".getBytes(), "00008".getBytes(), "00009".getBytes(), "00003".getBytes() };