[FOLD] Fix unit_test predicate and failed bool return