Add missed optimization tests for add1/sub1.