minor fix in stressTest