Tests most of the basic functionality and uncovers bugs for a few edge
cases. Testing some of the advanced features is skipped for now, there
might be more bugs lurking.
Checking the text elision in relation to font metrics is already being
covered by Qt's autotests.
Depends on D7162