Tests for the WI.Gradient model object.