added a test for group title

And fixed the callback on invite.
Merge pull request #36 from gbin/title-tests

added a test for group title