clean up runtests.py variables