If I remember correctly most of the test strings here were examples from real world broken pdfs.  We should try to keep strings the same, but update the expected output instead.  If that's not possible that's okay, but it is preferred.