Did they compensate you?
In this situation, I did not receive compensation because of my employment agreement with my then-current employer. That was my choice, and I'm sure we could have figured something else out.
I have seen candidates handle it differently, though - one potential hire we paid for a 3-week engagement as a contractor, for example.
The moral of that story - when hiring, challenge people to do something for you. Give them a week to work with you. Pay them even. Just see how they actually work. It'll work well for you, and them - even if your rate of hiring is lower than you'd like.