Tests for an internet connection