Use -indexOfObjectPassingTest: in destroyCurrentThreadData.