polygon tests, exception for non-linear ring during polygon parse