remove randSleep in test