Add more WKTWriter tests for linestrings and polygons