Convolution test on python