test: write test for HeaderParser and OsgiScriptingEngines