expaned test to multiline stream
fixed warning