can exit context menu test by clicking a leaf node