Fix runtests script