encoding issue with sugar-tests.ts