test code for OpenCv in Test class
reviewed changes