Testing and Learning on Distributions with Symmetric Noise Invariance