test for if child exists before replacing menu_slug