Usually, the main application take care of loading all required plugins at start-up.
When writing a junit test, you must initialize the plugins yourself by
InitPluginManager.init();
This method needs to have a file output.txt in the target folder. This file can be generated by maven using the following plugin in the build tag: