Test #to_param returns permalink