Test coverage for event binding