First test for joining and leaving.