Appended test for var replace multiple times