Added more tests to find out why convolution result image is causing segfault