Revert "gradient test"

This reverts commit 01a2e4b845386801660cf796e115a4318caeba05.