test integer replacement