import listeners are handled better

handlers are concatenated with a list of import names. The handler is
called when all expectedListeners are spliced (no expected listeners)