@Test
public void testSpaceReclamation() throws Exception {

    byte[] keyBytes = randomBytes(16);
    Btree btree = buildBtree(keyBytes);
    byte[] key = "A".getBytes();
    byte[] bytes = TestUtils.buildBytes(30000);
    for (int i = 1; i <= 10000; i++) {
        put(btree, key, bytes);
    }
    System.out.println(btree.getDb().getPageStore().debugDump());
    Assert.assertTrue(btree.getDb().getPageStore().debugIsIdle().or(true));
}