Add testing for the delay operation