Added testing code for Tesseract OCR module.