Add test for GetServiceByUrl adapter function