[testing] both subsampling and convolution pass gradient tests