Add sleep to robot test