debugging friedman test