Finished AnnotationScanner and added unit tests for AnnotationScanner