'stream' now a required argument for StreamEmitter
check encoding settings during Emitter initialization
adding tests for testing code, pretty much