Fix encoding issue in github tests