Add test for nested annotation types.