Add more tests to gradient

Distinguish between linearGradient and radialGradient