SwitchTest class added