Fix a test for emitter
Merge pull request #36 from danfooo/fixtest

Fix a test for emitter