Add a test case for the fix of profile update issue when lowering switch statement.