Test and ensure correct pane ordering