Made the tst_QWidget::widgetAt() test a bit more robust.