@Test
public void testParsing_pdf2XMLwithNoIMages_ShouldWork() throws Exception {

    InputStream is = this.getClass().getResourceAsStream("pdfalto_noImages.xml");
    SAXParser p = spf.newSAXParser();
    p.parse(is, target);
    List<LayoutToken> tokenList = target.getTokenization();
    assertTrue(tokenList.size() > 0);
    assertTrue(document.getImages().size() == 0);
    assertTrue(images.size() == 0);
    assertTrue(document.getPages().size() == 4);
    assertTrue(document.getBlocks().size() == 26);
}