fix ocr_extractor tests: ignore invalid lexemes in test data