move runtests for Pkg.test()