Update ANNSuite.scala

Added test for gradient.