Testing the Martingale Difference Hypothesis in High Dimension