add test_fail_then_pass