Renamed all local variables with name 'response' to 'apipie_response' to prevent clashes in tests