Refactored test source files to use grails 2.4 api. No replacement
identified for PluginMetadata.