Add unit tests in imgproc