Testing credibility with time-varying coefficients