change encoding in test