fix: restoring tests compatibility with Qt4