@Test
public void testReadMultiSamplesTwice() {

  writeTestData();
  writeTestData();
  assertAllocationCount(20);
  assertReadTestData(FORMAT_2);
  assertReadTestData(FORMAT_2);
  assertAllocationCount(20);
  sampleQueue.discardToRead();
  assertAllocationCount(0);
}