GRAILS-10067 - Allow failOnError override

Fixed parameter handling and added a test case for default and overrides