Update getParamsDecoded/getParamsEncoded tests of ParamsTest.