adjust domainSharing test to also allow 'allowedWithWarning'