fixing indentation problem in test_network.py