Fix regressed test case CoreDynTests.MultipleOutputs

List.RestOfItems returns multiple values in a dictionary. Irony this test case passed because it didn't return value properly (not returning a dictionary). Fix the validation of value. Test framework also needs enhancement to handle the validation of dictionary.