Add tests for plugins.