tests for layout plugin