test whether the gradient is computed correctly, and test whether the consider_constant op is removed from the graph.