coverage for curry() without func