Exchangeability, Conformal Prediction, and Rank Tests