Fix progressbar output showing up in tests