Testing, Learning, Sampling, Sketching