Test for team inheritance bugfix