set up test suite. add tests for invitation