Test script and fixes for convolution.