fix runtests script