FIX #414

Add tests for polygon, line and point.