added test for parsing ocr string