update test_rotpole.py example