test convolution against explicit reference implementation

To thoroughly check convolution, the output is compared against a
reference implementation by explicit looping.