Tests for std::sets monoid instance.