Fixed runtests return code