Testing Unconstrained Optimization