PluginsCMDWorker: Added some JUnit tests

Signed-off-by: fhenry <felix.henry@sopra.com>