[test] Check that localhosts are whitelisted