fix test: add getProgress method in test