Convert to gruntMock for testing, grunt.log.error for errors.