Fix reloaded retrying tasks.
Added test for reloaded retrying tasks.
Simplified some test suite scripting.
Merge pull request #946 from hjoliver/945.reload-retrying-tasks

Fix reloaded retrying tasks.