Investigating Conformal Prediction Under Distribution Shift and Long-tailed Data