make sparse Arctanh gradient test more stable.

Otherwise, it was failing due to numerial problem in some case.
Merge pull request #1354 from nouiz/more_stable_test

make sparse Arctanh gradient test more stable.