Test if event is triggered in SVG