Fix test for calc_cloud_connection