add test for stream creation methods