Fix assertion in next_event
Add event broadcast tests