Found by stricter asserts in Qt 6. This also allows to require passing unit tests in all CI configurations.