test eval function