o Add test for switch.