Refactored. Removed helper functions in TestSetOperations