Fixed encoding in test