Refactor stream tests to share code.
Refactor stream tests to share code.

hustxiaoc/tchannel,chenwenbin928/tchannel,savaki/tchannel,benfleis/tchannel,RyanTech/tchannel,bunnyblue/tchannel,sasa233/tchannel,hustxiaoc/tchannel,savaki/tchannel,benfleis/tchannel,chenwenbin928/tchannel,hustxiaoc/tchannel,Zirpon/tchannel,Zirpon/tchannel,i/tchannel,i/tchannel,vanloswang/tchannel,benfleis/tchannel,RyanTech/tchannel,bunnyblue/tchannel,chenwenbin928/tchannel,i/tchannel,Zirpon/tchannel,RyanTech/tchannel,savaki/tchannel,bunnyblue/tchannel,vanloswang/tchannel,sasa233/tchannel,sasa233/tchannel,vanloswang/tchannel