Test that Task is an EventEmitter2