List<Scan> scans = HBaseBackfillMerger.scansThisCubeOnly(new byte[] {}, internalSplitKeys);
Assert.assertEquals(1, scans.size());
admin.split(tableName, "d".getBytes());
Thread.sleep(5000L); // hack: wait for split to happen
admin.split(tableName, "c01".getBytes());
Thread.sleep(5000L); // hack: wait for split to happen
Pair<byte[][],byte[][]> startsEnds = hTable.getStartEndKeys();
Assert.assertEquals("Regions didn't split as requested, wtf", 3, startsEnds.getFirst().length);
internalSplitKeys = BackfillUtil.getSplitKeys(startsEnds);
scans = HBaseBackfillMerger.scansThisCubeOnly(new byte[] {}, internalSplitKeys);