fixed tests of progress bar