Fix automatic Wilcoxon test selection, add tests