test if TypeError is raised for FiniteSet([1, 2])