Adding a tests for OpenOrSwitchToOrClose
Merge pull request #244 from erikvold/testOpenOrSwitchToOrClose

Testing OpenOrSwitchToOrClose