add test of eval_if