test EventEmitter