Add test for polygon offset.
Merge pull request #553 from c0d1f1ed/master

Add test for polygon offset.