(#22288) Add tests for code added in 43dc35a

Without this commit there is no way to test the functionality in commit
43dc35a. The functionality being tested adds new methods for accessing
parameters.

This commit adds two tests to the 'spec/unit/type_spec.rb' to test the
behavior added in commit 43dc35a.
(#22288) Add test coverage for code in 09187e0

Without thi commit there is no way to test the functionality added in
09187e0. The functionality being tested adds a `post_catalog_compile`
hook to all parameters.

This commit adds tests to validate the behavior added in commit 9b6aef0.
The code being tested adds the ability for a `post_catalog_compile` hook
to be added to all parameters.