Added the Rosenbrock function to the unit tests for the optimizer.