Improved reference paramter tests.