How to create an attribute and add it to an attribute set programmatically? (an example from the unit tests)