Added test with CASE