polyline specs

- see commit comments
test Polyline creation