add test script. fix bug (typo) in eval() with COND.