Update testswitch.py