unit tests offset polygon