fixed runtests