add test for empty set case