Added code to check for OCR 5

added code and tests to check for OCR 5
all tests green
Added code to check for OCR 6

added code and tests to check for OCR 6.
all tests green