Fixed unit tests for gradient sign convention.

Fixed
=====

* Fixes issue #1.