Now uses ThreadManager to spawn threads.
Removed the dependency with LocalServiceTestHelper.