Goodness-of-Fit Test of Mismatched Models for Self-Exciting Processes