Test for issue #2881
Remove stream.parameters which wasn't being set consistently. Fixes issue #2881.
Merge pull request #3203 from eug48/master

Fix for issue #2881