Added test for result when the emitter has no listeners