updated stream test