Adds aggregation test for combining multiple types of annotations.