Add a helper method for creating failures