Added test for << operator