test_text Modify filter warning regex

The regex will not match in python 2 since this is a unicode literal.
Fix that by adding an optional 'u' to the regex.