Added support for unit tests with Open CV.