tests: Don't use unicode for exceptions

They might contain non-ascii characters and that will get you a
<unprintable unicode object> on non-utf8 terminals.