HH-45766 Fix encoding in test