test_connectivity patch