Adding Switch Node tests
Merge pull request #336 from zobalogh/switch-test

Adding Switch Node tests