added code to check for OCR 8

added code and test to check for OCR 8
all tests green