added some quick tests to connectivityListener