test UnionAnnotatedElement