Add test cases for array and hash for #to_param