populateDiskIndex(entries);
diskIndex = new DiskIndex(PATH2, DefaultByteRangeComparator.getInstance(), COMPRESSED, MMAPED);
for (byte[] entry : entries)
assertEquals(0, COMP.compare(entry, diskIndex.lookup(entry)));
assertEquals(entries.length, diskIndex.numKeys());
diskIndex.destroy();
// create another disk index and look up each key
entries = new byte[][] { "fdsaf".getBytes(), "blubberbla".getBytes(), "zzz".getBytes(),
"aaa".getBytes(), "aab".getBytes() };