Add threaded stress unittest