Fix distance-to-sphere test

I fixed the distance-to-sphere test while testing a new RobOptim plugin for Eigen's Levenberg-Marquardt implementation.

I also made a slight modification to the `BUILD_TEST` macro as it assumed that all tests are in the `schittkowski` folder. We may want to add some other simpler tests (like distance-to-sphere) to another folder while still using this macro.