Add functionality and tests for curve, curveDetail, and curvePoint