Testing the Goodness of Fit of a Parametric Density Function by Kernel Method