Fix failing test in api_responses