update run_tests to work robustly in parallel
Merge pull request #568 from ros/run_tests_parallel

update run_tests to work robustly in parallel