An exact test of the accuracy of binary classification models based on the probability distribution of the average rank