Added unit test to check for connectivity