Fix invite test