allow tests to be run without a network
Merge pull request #6730 from amitmurthy/amitm/nonet

allow tests to be run without a network