add test for multiple email invitations