changed QVERIFY to QCOMPARE