Analytic version of test functionals, Fourier transform, and a characterization of measures in white noise calculus