Add tests for ContextMenu#isOpen