Exact distributions of distribution-free test statistics by