gh-159127: Fix tests depending on the layout of unmapped text widgets (GH-159128)

A text widget which has not been mapped yet had size 1x1 and its content
was laid out in that area, putting every character on its own display
line.  Tk no longer does this.
3 files changed