Added tests for CubicBezierCurve