Feature/stream tests