added traverseVisualTree helper, added test for background color, image and gradient