Add test for polygon offset.