Tests for api_user_url. Code corrected.