for (int start : new int[] {0, 10, 100, 998}) {
for (int cf = 1; cf <= 4; cf++) {
if (start == 0)
reader.seek(new Range(), ncfs(nf("cf_", cf)), true);
else
reader.seek(new Range(nf("r_", start), null), ncfs(nf("cf_", cf)), true);
for (int i = start; i < 1000; i++) {
assertTrue(reader.hasTop());
assertEquals(nk(nf("r_", i), nf("cf_", cf), nf("cq_", 0), "", 1000 - i), reader.getTopKey());
assertEquals(nv(i + ""), reader.getTopValue());