add unit test for tesseract. add base GPW test. (see #470)