Add a gradient test for Dropout.