Fix scripted test to understand new compile/compileIncremental task switch.