moved task.js and dependencies (EventEmitter.js) into /test