test for internet access