@Test
public void testIterator() {

  ChunkedArrayList<Integer> l = new ChunkedArrayList<Integer>();
  for (int i = 0; i < 30000; i++) {
    l.add(i);
  }
  
  int i = 0;
  for (int fromList : l) {
    assertEquals(i, fromList);
    i++;
  }
}