SI-8346: Check toSet safety for several standard Set subclasses.
SI-8346: Also test ValueSet variance.