structure tests, add enum datatype
add support for attribute objects