fixed run_test