Exact Goodness-of-Fit Tests Based on Sufficiency