public void testExtractCDXJobWithWarcfilesExcludeChecsum() throws Exception {
    warcJob = new ExtractCDXFromWarcJob(false);
    OutputStream os = new ByteArrayOutputStream();
    assertFalse("The to-be-generated file should not exist aforehand", TestInfo.CDX_FILE.exists());
    os = new FileOutputStream(TestInfo.CDX_FILE);
    warcBlaf.run(warcJob, os);
    os.close();
    List<ExceptionOccurrence> exceptions = warcJob.getExceptions();
    for (ExceptionOccurrence eo : exceptions) {
      System.out.println("Exception: " + eo.getException());
    }
    assertTrue(warcJob.getExceptions().isEmpty());

    System.out.println(FileUtils.readFile(TestInfo.CDX_FILE));
  }