Process result of unconstrained problems differently.

Thus, unconstrained solvers can also use those tests.