[#46119653] Fixed tests for test_import_parties