made a test for event.invite