add test on report_failure