A lot of companies will reimburse you for travel and lodging where applicable during the interview stage. It's not a far stretch to think that they should do the same if they are having you do actual work on your own time, also during the interviewing process.