Text this: Smooth tests of goodness of fit