Test coverage for retries