gradient

Test case 3