Make testTransactionForwardedToLeaderAfterRetry purge-aware