Fix (unicode) debug info in test cases