changed runtests.jl to output files to output directory

So you can perform runtests.jl without tracking the output files.