[SecurityBundle] Add tests for IP whitelisting