Create test thread by making it a local field instead of using 'new'.