Fix ErrorResponse tests