Fixed encoding issue in export test