Override shapely.geometry.LinearRing and add tests.