Changed the way testStressMultipleThreads works, so it can run without failing on slow machines