Testing OpenOrSwitchToOrClose