avoid null pointer on ConnectivityChangedEvent tests