Create basic tests for AnnotationSet.

Also covers methods inherited from OrderedHashSet.

Bug: 46320
Change-Id: I632e4cf1b87312179a9ce52df0d590ff42f56325
Merge "Create basic tests for AnnotationSet."