add a test for gradient energy after a small non-uniform rotation in a non-uniform texture