Test coverage for PluginManager