Add tests checking whether repair tasks are properly structured and their progress is gathered correctly.