add some tests for case statements
Merge pull request #1613 from h2so5/test-case-statements

add some tests for case statements