WIP unit tests for updateAnnotations