updated runtests script