Make runtests be a python script