invitation controller tests update