Fixing copyif test