Add missing test case for Array#to_sentence, collect all test cases for Object#to_param at one place and avoid repitition
Merge pull request #16336 from akshay-vishnoi/fix-tests

Add missing test case for Array#to_sentence, collect all test cases for Object#to_param at one place and avoid repitition