Add unit test for IP Whitelisting.