Fix test_adress and server_url logic