add test to ensure stream operators work