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

@rafaelfranca - refinements added.