test::end_analyze returns pass/fail