added makeEmitter() to emit
added a new test for makeEmitter
Merge remote-tracking branch 'origin/master'