scanner: add tests for possibly ambiguous characters

Hi @kr 

I was wondering if the strings below would break `logfmt` and I'm glad they aren't. I thought you could like the additional test cases?