tests: add (failing) tests for tex*Grad
fix tex*Grad