Test polygon works