fix fails test for invitation