update testrotation.py