You might need to add a test to ensure that you can edit an existing tag and not change its name, this is likely to fail by looking at the code you have below in the validate method