modified make/tests for bfgs tests