Bug 895775 - Handle bogus network settings in testNetworkManager. r=fix-test