As the title states. This MR adds unit tests for the UP convolution function. During testing, an error was discovered which is fixed in 2bb995dd