added lbfgs_update tests
added bfgs tests