Gradient-based solver test fix
Merge pull request #1040 from qipeng/solver-test-fix

fix gradient-solver test by reducing iterations to relax precision