Text this: Goodness-of-fit test based on empirical characteristic function