@Test
    public void testODFDifferentOrder() throws Exception {
        //TIKA-3356
        List<ZipContainerDetector> detectors = new ArrayList<>();
        detectors.add(new OPCPackageDetector());
        detectors.add(new OpenDocumentDetector());
        DefaultZipContainerDetector zipContainerDetector = new DefaultZipContainerDetector(detectors);
        try (TikaInputStream tis = TikaInputStream.get(
                getResourceAsStream("/test-documents/testODFwithOOo3.odt"))) {
            //force underlying file to test the proper behavior with the underlying zipfile
            tis.getFile();
            MediaType mt = zipContainerDetector.detect(tis, new Metadata());
            assertEquals("application/vnd.oasis.opendocument.text", mt.toString());
            assertNotNull(tis.getOpenContainer());
            assertEquals("org.apache.commons.compress.archivers.zip.ZipFile",
                    tis.getOpenContainer().getClass().getName());
        }
    }
EPub uses a similar mimetype entry to OpenDocument for storing
the mimetype within the parent zip file
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java