test invitation rule