[test][multidomain] resolve deprecation warnings

5 jobs for !3041 with cleanup/multidomain-constructors
latest merge request