@Test
public void testMatchesAllMatches() throws Exception {

    AlignmentPair allMatches = new AlignmentPair(subject, subject, substitutionMatrix);
    List<Range<Long>> matches = matches(allMatches);
    assertEquals(1, matches.size());
    assertEquals(Range.closedOpen(0L, 20L), matches.get(0));
}