basic main function to test tesseract