Wi-Fi on/off method in ConnectionManager for tests