fix tests with no internet