Fix api_url usage in tests