Edit StateSwitchTest