fix(EventHandler) fix tests