Added test for layout clip.