Use repr instead of str for getting context data via the system render function, so it works better for non-ASCII data.
Test the Unicode handling during construction of an ErrorModule directly.