Migrate tests from QTest to QmlSpec