@Test
public void testWriteIterable() throws Exception {

    write(records, writer);
    // note writer does not add trailing commas to blockSizes and blockStarts as examples contain
    assertEquals("chr1\t11873\t14409\tuc001aaa.3\t0\t+\t11873\t11873\t0\t3\t354,109,1189\t0,739,1347", stringWriter.toString().trim());
}