fix parsing of stroke
fix poly/line color defaults
add test of enum round trip