Updated network test to fix error in cleanup
Merge pull request #1171 from christav/network-tests

Updated network test to fix error in cleanup