Remove all network dependencies from the test suite

See #830 
All tests now pass without internet.