@Test
public void testStarts() {

    List<Long> starts = starts(ranges);
    assertEquals(4, starts.size());
    assertEquals(Long.valueOf(0L), starts.get(0));
    assertEquals(Long.valueOf(0L), starts.get(1));
    assertEquals(Long.valueOf(0L), starts.get(2));
    assertEquals(Long.valueOf(1L), starts.get(3));
}