update the unit tests for lbfgs