Added tests for nested MultiDecoders and added fixes as highlighted in #1052