Refactored test suite. Made a common configuration of the plugin part of the beforeEach test