fix runtests() and update doc