Refactored TestTerritory to TerritoryTest