Issue #149: cleaner use of testing if DefaultEventListener is active