IR: Add test for handleChangedOperand() recursion