Added test to ensure unique index on team.name