Allow events to fire during unit tests