Unit tests for IdSet. A step toward #6