IO-Test: Improve Error Message
Improve the error Message for IO-Tests by finding the string that is the "closest" to matching the pattern based on the automaton checking the regex.
Idea stems from https://stackoverflow.com/questions/46155406/minimal-number-of-edit-operations-to-convert-string-to-match-regular-expression