integrated progressbar into test_run.cpp so there's only one executable.