Make the plugin loading in tests less repetitive