Issue #3310936 by phenaproxima: Replace packages_comparison fixture with a unit test that mocks ComposerUtility::getInstalledPackages()