fix compile errors in TestOptimizer.cpp, using zero and identity flag now