Testing-to-Estimation Reduction