test: manage: synchronize-by-source-versions: refactoring: use compose_installed_record() and compose_package_record()
test: manage: synchronize-by-source-versions: added subtest 'hard, removal possible'
test: manage: synchronize-by-source-versions: added subtest 'hard, removal prohibited'