Try (and fail) to fix _delete_network in tests.py