Testing Overidentifying Restrictions with High-Dimensional Data and Heteroskedasticity