removed print statements in testNetwork
simplified thread usage in networking tests