diableEvent unit tests