Fix runtests exit code