Added test for internet connection