[PATCH v24 1/8] tests: Add some tests for the 'switch' statements.