This tests that when an attribute of the same name is added to a class, that it will remove the old one first.