add unit test for the emit function ensuring that it actually emits a valid object
Merge pull request #10 from clarkbw/test-emit

Test emit