Text this: An Efficient Method to Generate Data and Compute Exact P-Values in Goodness-of-Fit Testing.