implemented tesseract test