ref #8056 - Unit tests for to_param
(cherry picked from commit 873467e4c263c1808677ad8c04c0e3493272353b)
ref #8056 - Unit tests for to_param
(cherry picked from commit 873467e4c263c1808677ad8c04c0e3493272353b)