Add test for layer rendering order