test for (x-2)^3 compilation, and fix for it