Tests to update attributeValue with valid and invalid values