tests for sets