Add tests for progress bar class