Duality Between CIs and Hypothesis Tests