Merge "Update test_networks.py to v2 of Quantum API"