Change test for TagAnnotation to use @Inherited annotation.