fix tests
cleaning and readying curvature lib