partial fix of curves_test