Add magick call on[EventName] into EventEmitter, add testing index.php