[test][algorithms][for_each] add test cases for open geometries (open
ring, open polygon, open multipolygon)