fixing tests
fixed endParty test