It is not a valid test unless you're connected to the internet, and causes a lot of spurious failures on Linux anyway, as it's highly dependent on timing of things that we don't have any control over.