populateDiskIndex(entries);
diskIndex = new DiskIndex(PATH2, new DefaultByteRangeComparator(), COMPRESSED, MMAPED);
for (byte[] entry : entries)
assertEquals(0, COMP.compare(entry, diskIndex.lookup(entry)));
assertEquals(entries.length, diskIndex.numKeys());
diskIndex.destroy();
// create a new disk index and look up each key
entries = new byte[][] { new byte[] { '\0' }, "word".getBytes(), new byte[] { '#' } };