Automated tests for win-switch