Testing the relays and Wi-Fi connection