modify runtests to add parallel run option