Added test for StringStream