testDrakeGradientUtil Ctest