add test for erroring readable stream
catch stream errors
Merge pull request #106 from quarterto/errors

Handle errors in wrapped streams