Fixed an AssertionError in the ProgressBar test file and updated tests