#59: remove existing invitations
- add persistence unit tests