Add tests for plugins