Fix tests related to validate_response_type