Invitation controller test