testing curvature