Fix test for FailureListener