Tests for whitelisting domains