Add basic tests for EventEmitter
Add more test cases to EventEmitter