@Override
    public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
                      ParseContext context) throws IOException, SAXException, TikaException {
        metadata.set(SUM_FIELD, Integer.toString(sum));
    }
This tests that initialize() is called after adding the parameters
configured via TikaConfig
tika-core/src/test/java/org/apache/tika/parser/DummyInitializableParser.java