Test that non-ASCII data in sessions works.

Fix #67.