I do think that take home tasks are the best way to hire somebody (or letting somebody bring their existing, recent code and talk about that). At the same time, I think companies should pay applications if this take home task takes more than 1-2 hours. I'm not saying you need to pay a lot, I think it's more a symbolic gesture of respect. Those costs are negligible for a company compared to the money and resources they spend on hiring/recruiting.