@Test
public void testStreamVariantContextsSingleAlleles() {

    Path vcfPath = Paths.get("src/test/resources/smallTest.vcf");
    List<VariantContext> variants = VcfFiles.readVariantContexts(vcfPath)
            .filter(variantContext -> (variantContext.getContig().equals("1")))
            .collect(toList());
    assertThat(variants.size(), equalTo(3));
}