update testing.py