Fixing regexes in tests.
Merge pull request #25 from ljharb/fix_text_regexes

Fix text regexes