Test drawing of horizontal line given a thickness