Code associated with article "Homogeniety Tests of Tiebout Sorting"