adding test for to_param method