sugar.d.ts tests fixed.
Merge pull request #356 from Diullei/master

sugar.d.ts tests fixed.