test api: set the urls as globals