added tests for plugins