Added LayerGradient test to layerTests

Added LayerGradient test to layerTests