Add test for setClip