fixed curve_import test cases 1 and 2. bugs still in cases 3 and 4.