update run_test.rb
Use mkstemp instead of tmpfile.