test execute function