added test for http://code.opencv.org/issues/1918
added test for http://code.opencv.org/issues/1918

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv