added support for testing of plugins