Fix progressbar unittest failures

Greetings from Europython (#ep14boat),

This pull request solves the unittest failures in progressbar since it was changed to adopt to terminal width. It is kind of a quick hack, improvements are welcome.

It also adds a new test that tries to verify that the progressbar is actually adopting to the terminal width.