Jhelbert/enrollment mode change events

edit: all mode change flows are covered
wasn't sure about the best way to approach this.  this basically replicates the above method event_is_emitted, but allows for n events instead of only 1.  didn't want to modify the existing method and break other places.  ideally event_is_emitted could match a regex like ([aA]n?)|(\d+)... would this work with the parameters?