@Test
public void testWriteHeader() throws Exception {

    writeHeader(header, writer);
    writer.close();
    assertEquals("##fileformat=VCFv4.1" + System.lineSeparator(), outputStream.toString());
}