fixed run_exit_test