added tests to imgproc