fix unittest, endif -> endifequal