Added onComplete delay functionality test