Fix encoding problem in test.