Create a worker thread for testing