added stream test.