Stream as the input test added