Add test for session_re.

Add a broken session_re case as a test and then fix it.
The fix in this case being making the regex case insensitive,
allowing spaces before and after the dash, and allowing two
different sorts of dash.
Make more strings unicode.

I'd forgotten to unicode a couple of strings.