Thread.currentThread() tests.