Refactored AttributeGenerator classes.
Added tests for AutnumAttributeGenerator.