Tests for class AnnotationParser