Modify runtests script