@Test
public void testRightHardClip() throws IllegalAlphabetException, AlleleException, IllegalSymbolException {

    temp = allele4.rightHardClip("t");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 15);
    assertEquals(temp.sequence.seqString(), "aaaaa");
    temp = allele4.rightHardClip("tt");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 16);
    assertEquals(temp.sequence.seqString(), "aaaaat");
    temp = allele4.rightHardClip("ttttt");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 15);
    assertEquals(temp.sequence.seqString(), "aaaaa");
    temp = allele4.rightHardClip("attttt");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 14);
    assertEquals(temp.sequence.seqString(), "aaaa");
    temp = allele4.rightHardClip("aaaaa");
    assertEquals(temp.getStart(), 10);
    assertEquals(temp.getEnd(), 20);
    assertEquals(temp.sequence.seqString(), "aaaaattttt");
}