Added test: should not write undefined to stream or end stream if no args are passed
Modified existing stream tests to end the stream
collect all stream data and pass into callback result
Don't end task's stream, let task do that itself
Merge pull request #4 from lazd/master