Added a unit test for the use of `ParameterReference`
Documentation tweaks