Fix inconsistency between FAIL and FAILED keyword