Assert event listeners in core