add stream tests