@Override
    public MediaType detect(ZipFile zipFile, TikaInputStream tis) throws IOException {
        MediaType mt = detectIWork18(zipFile);
        if (mt != null) {
            return mt;
        }
        mt = detectIWork13(zipFile);
        if (mt != null) {
            return mt;
        }
        return detectIWork(zipFile);
    }
@Test
    public void testDetectKeynote13() throws Exception {
        String testFile = "/test-documents/testKeynote2013.detect";
        IWorkDetector detector = new IWorkDetector();
        try (TikaInputStream tis = TikaInputStream.get(getResourceAsStream(testFile));
                 ZipFile zipFile = ZipFile.builder().setFile(tis.getFile()).get()) {
            MediaType result = detector.detect(zipFile, tis);
            assertEquals(IWork13DocumentType.KEYNOTE13.getType(), result);
        }
    }