Tests for activeThreadSet