added test for partyEnd