Revert "add unit test for L-BFGS used the same result produced by the Newton method"

This reverts commit fa83523ebbf59905efbe0bd3a8294776527ae6d9.