Added PluginManager tests