Added test for switch instruction.