splitting Pearson test in 2 distinct classes, creating Barnard test, setting restrictions, assigning stato id to new classes