Remove test code from progress.py