[identities tests] Added tests for max number of identities and emails.