added tests for JoinInvitation
Merge pull request #10 from JPWKU/test

added some tests