Add test case template for switch and slider.