It would probably be good to replace the old value afterwards otherwise tests may fail from the additional "a". i.e. I don't think set_dirty should leave traces other than making the field dirty.