pre-test allow events to be canceled when emitted
pre-test auto add id property to state
pre-test auto add id property to context rather than state