Fix deprecated stream
Fix wrong example
Use apply instead of chunked for mock
Fix msg