fixed typo, added getFailureState for Johlize