restoring run_tests script