add stroke width unittest & document