Test for Annotation inheritance