update tests for fix to bfgs