Add retry test.
Make algorithms use uniform distribution of backoff times.