Added TestUtils.modifyConstant utility method