Fix regressed test case CoreDynTests.MultipleOutputs
Merge pull request #1285 from ke-yu/fix_magn1851

Fix regressed test case CoreDynTests.MultipleOutputs