extended SetReplace test case