added bfgs_update tests