Match dnf3 and dnf5 tests together. Change `recommends` to `require` for dnf5, because it doesn't make sense to even start the test if dnf5 is not present.
testing both dnf5 and dnf-3