Added testes to user invitation.