tests for "case" expression.