Moved some imports in runtests.py