added code to check for OCR 7

Added code and test to check for OCR 7
all tests green