Testing OpenCV thresholding

Listing dependencies
Adding thresholding tests