Test for tag removal and addition