@Test
public void testParseToHTML() throws IOException, SAXException, TikaException {

    String result = example.parseToHTML().trim();
    
    assertContains("<html", result);
    assertContains("<head>", result);
    assertContains("<meta name=\"dc:creator\"", result);
    assertContains("<title>", result);
    assertContains("<body>", result);
    assertContains(">test", result);
}