change run_file() in testhelper