modify iftest.py