Add tests for collapsing case statements.