Fixed invitation sending and test