Statistics for Testing General Relativity with the next generation of cosmological surveys