Refactor TestParametersCustomization.