Add start of unit tests for pluginmanager, issue #12