adding a test about the toggle closing itself