Added some test for internet connection