Addendum to #12891

* Fix incorrectly named tests
* Restore Object#to_param behavior on models
* Ensure param is derived from a squished and truncated string