Refactored test requiring a plugin to be loaded into seperate files