On the Optimality of Gaussian Kernel Based Nonparametric Tests against Smooth Alternatives