Change errors to failures