Added some tests.

* Added two tests.
* Created a system that easily allows to switch between different OpenCV
  versions.