Fix the "test" optimization to recognize "dec" as an add of