Added api_url and test