Added test methods for joinGroup() leaveGroup() and changeGroup()