Fix permissions on gradients test.