Added tests for Annotation.