Tests paint invalidation of the scrollbar (to repaint tickmarks) on document change when there are text match markers. Passes if the tickmarks are updated on document change.