Add test cases for array and hash for #to_param

why do you need this require here?