Revert changes in runtest.py