Add a unit test on event.forEachSubscribers