switch: compose match expression for every case clause
second test case for switch