change _onQuizFailure to _onAssessmentFailure as per #467