some fixes of UMat tests