migrated tag classes to groovy.
test updates for tag classes.