Added tests for plugins.