added test for concatenated streams