adding tests for Decoder.TextStream and Decoder.BinaryStream