RootFinding: Add higher dimensional test cases.

Added further tests for Broyden method.