Test and fix unicode issues in logs. Fixes #699

The helper functions for creating test fixtures now include unicode characters.