Improvements to the Transcoder logic and tests
Merge remote-tracking branch 'origin/master'