added a test for group title

And fixed the callback on invite.