I have blogged about an alternative [here](1). The summary is: ask them to contribute to any open-source project of their choice. Win-win for all, IMO.
Its also quite a lot t expect. After a couple of half days worth, with no result at the end, I am getting kind of pissed off with them. Do you pay them for this?
No we don't pay, and you're right it is a lot to expect. I've been on the other side myself plenty of times so I know how that feels: nothing more frustrating than having your time wasted. But on the flip side, I now have to waste a lot of time screening, interviewing, and doing code reviews with candidates that did not work out. Hiring sucks from both sides, I wish you luck.