Add test for gradient patterns