Implement TESTSET logic.