@Test
public void testGetAnnotationsForUnTrimmedDeletionJannovarShiftsRight() {

    int pos = 118608470;
    String ref = "AGTT";
    String alt = "AGT";
    VariantAnnotations variantAnnotations = instance.annotateVariant("X", pos, ref, alt);
    assertThat(variantAnnotations.getChr(), equalTo(23));
    assertThat(variantAnnotations.getPos(), equalTo(118608471 + 1)); //Jannovar trims from the left first i.e. right-shifts.
    assertThat(variantAnnotations.getRef(), equalTo("T"));
    assertThat(variantAnnotations.getAlt(), equalTo(""));
}