duality between tests and confidence regions