enable run_tests to be ran as shell script