A Kernel Test of Goodness of Fit