Add a test to check that gradient with no stops are not considered opaque by gstate (and thus masking with them is not optimized to paint).