modified test.py file