Change test for TagAnnotation to use @Inherited annotation for #321