Closes #7: Add integration tests for mojos with "failOnError" attribute

Also added failOnError to the deploy mojo