Starting adding tests for threads.