added stream tests