Server: Refactored tests for AnnotationTypes.