add polyline polygon and its test