test improvement: fail on assertion errors inside Listener