Added unittests in bezierCurve.d