Nikolay Sivov : tests: Add some tests for the 'switch' statements.