Add test single_annotated_method_is_declared_by_super.