Renamed 'test' to 'tests'; improved tesseract.py and added tests for same.