test: install libraries required by tests
(cherry picked from commit e3d3dada248c5f30e2978840ca1f0a03a4675b53)
Resolves: #1823767
patch_name: 0356-test-install-libraries-required-by-tests.patch
present_in_specfile: true
location_in_specfile: 356
squash_commits: true