Among other things, this includes a test for the fix in the previous commit.
This mainly just tests that gradients are properly reproduced by gtk_style_context_to_string.