Add tests for PluginCollection