test Broyden method as well