added unit test for contourDetection() of ImageProcessor class
finished writing unit tests for ImageProcessor class.