test for sharing during page_creation - covers #2776