Add tests to the emailIdentity provider