Made testing utils better
Fixed a subtle bug with non-reliable streams
: