Added unit test for checking if aborted task has incremented a retry.