add test for pluginmanager