Updated event handler test with regex

Copy over on monday