ListenerManager unit test. A good thing, too, because the threading is
somewhat broken