Update tests to work offline
Merge pull request #2363 from sigmavirus24/fix-tests

Update tests to work offline