Type safety and clearing default territory name before each test