some more streaming tests. fixed a few things in the process