@Test
@Ignore
public void testOnDiskIterator() {

    Buffer buffer = (Buffer) store;
    int count = TestData.getScaleCount();
    List<Write> expected = Lists.newArrayList();
    for (int i = 0; i < count; ++i) {
        Write write = Write.add(TestData.getSimpleString(),
                TestData.getTObject(), i);
        buffer.insert(write);
        expected.add(write);
        Variables.register("expected_" + i, write);
    }
    buffer.stop();
    Iterator<Write> it = Buffer.onDiskIterator(buffer.getBackingStore());
    List<Write> stored = Lists.newArrayList();
    int i = 0;
    while (it.hasNext()) {
        Write write = it.next();
        stored.add(write);
        Variables.register("actual_" + i, write);
        ++i;
    }
    Assert.assertEquals(expected, stored);
}