Added test for reloaded retrying tasks.