@Test
public void shouldPackConsecutiveDuplicatesInTheirOwnLists_small() throws Exception {

    List<List<String>> packedList = P09.pack(Arrays.asList("a", "a", "b", "a"));
    assertThat(packedList, hasSize(3));
    assertThat(packedList.get(0), contains("a", "a"));
    assertThat(packedList.get(1), contains("b"));
    assertThat(packedList.get(2), contains("a"));
}