Refactorings to UpdateAttributeServiceTest