fix runtests