On the one hand I agree but on the other hand I think group work is an important skill to learn. This will be almost always necessary in a work environment.
I think a good compromise is to require each team member to be responsible for an identified part of the group work so that the teacher can adequately grade each individual.