More unit tests for email whitelist validation.