0.) Start a vanilla bundle
1.) Create a new site
2.) In the new site create the following page tree:
- P1(parent) + P1_1(child)
3.) Drag and drop P1(parent) + P1_1(child) into P2 and open up the page tree.
4.) Run the following Groovy script:
Actual result: the script's output is 'P1', which is wrong, since P1 is no longer on the top of the page hierarchy
Expected result: the script should print 'P2' as it is now the first page on the top level of the page hierarchy