Added a test to check that we can replace an attributeType either with a null value or with no value (in this case, the attribute will be removed)