btreeCopy.setSchema(schema);
final String idx = schema.getIndexes(REP_CACHE_TABLE).iterator().next().getName();
Assert.assertNotNull(idx);
final ISqlJetBtreeIndexTable index = new SqlJetBtreeIndexTable(btreeCopy, idx, true);
String prev = null;
for (index.first(); !index.eof(); index.next()) {
final String hash = index.getString(0);
logger.info(hash);
if (prev != null && hash != null) {
Assert.assertTrue(hash.compareTo(prev) > 0);
}