@Test
public void parseValidEpub3ChecksumTest() throws Exception {

    File epubFile = new File(CHILDRENSLIT_SRC_FILEPATH);
    EpubModule em = new EpubModule();
    JhoveBase je = new JhoveBase();
    je.setChecksumFlag(true);
    em.setBase(je);
    RepInfo info = new RepInfo(epubFile.getAbsolutePath());
    em.parse(new FileInputStream(epubFile), info, 0);
    Map<ChecksumType, String> checksums = new HashMap<ChecksumType, String>();
    info.getChecksum().forEach(cs -> checksums.put(cs.getType(), cs.getValue()));
    assertEquals("da79cb9b", checksums.get(ChecksumType.CRC32));
    assertEquals("4c2dee43162e40690ba05926b9f42522", checksums.get(ChecksumType.MD5));
    assertEquals("72bcf1b71f4dd9b902a5fcd614601d5e488003a0", checksums.get(ChecksumType.SHA1));
    assertEquals("a1da72ef94de43a70a97538d5e789f74bf7c29bd99f8059697ae75a6b85a75f7", checksums.get(ChecksumType.SHA256));
    final int expectedNumChecksums = 4;
    assertEquals(expectedNumChecksums, info.getChecksum().size());
}