Implement test bench for thread spawner