Added test to ensure that progress bar completes after user defined delay and returns to zero after completion