Migrated from typedef.properties to antlib.

Added simple tests for required attributes.