Robust Testing and Estimation under Manipulation Attacks — arXiv2