Added tests for curvature regularization