Testing the port switcher