fixed test for error on OpenCV-1.1