add editing test.py during patching