fix stack overflow during GWT tests
Merge pull request #49 from kprevas/master

fix stack overflow during GWT tests