test(transformer): fix

- remove usage of obsolet syntax,
- re-enable the parsing of attribute annotations by adding a class level annotation.