add some tests for case statements