Added test for switch default