@Test
    public void testDetectIWork2013() throws Exception {
        assertTypeByData("testKeynote2013.key",
                IWork13PackageParser.IWork13DocumentType.KEYNOTE13.getType().toString());
        // Without decoding the Document snappy stream, we can't tell the
        //  difference between these two just based on the zip entries
        assertTypeByData("testNumbers2013.numbers",
                IWork13PackageParser.IWork13DocumentType.UNKNOWN13.getType().toString());
        assertTypeByData("testPages2013.pages",
                IWork13PackageParser.IWork13DocumentType.UNKNOWN13.getType().toString());
    }
Check that temporary files created by Tika are removed after
closing TikaInputStream.
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java