Testing convolutions implemented in C with python bindings