Merge "Tests for get[Declared]Annotations[ByType]()." into nyc-dev