Add a test program for libopencv