Testing Unconstrained Optimization Problems