streams: allow for single encoder/decoder scenarios
test: add tests for single encoder/decoder scenarios