added a functional test for claim replace