Test polygon clipping