I'm surprised at the downvotes and disagreement for this. I'd be fine with a four-hour take-home. I got one of my jobs by doing that.
One four hour offline/asych event, in practical coding rather than a whiteboard brain-teaser, to gauge the fit of a multi-year job relationship, is perfectly reasonable. I think the sense of entitlement might be getting a bit too high if people here say they would blow that off.