to add stream unit test