Fix handling of totals in ProgressReporter

Here are my changes per pull request #113 and issue #112.  Instead of repeatedly setting the total every time a test is run, we can set it once when we start the progress bar, presumably because the number of tests should not be changing during a test run.
Thank you for explanation.