modified test function for remove attendee