A recruiter calls me and says that I seem like a good candidate and he'd just give me a test task, if i do it i get the job.
While he was talking I understood that this "test" task was actually something they are working on. So basically I would be doing almost 20 hours of free work for them so that I can get the job.
I currently have the task done, but I am hesitant to hand it to him. because
1- he can just take it and never respond again.
2- even if i did get the job, I have lost 20 hours of my time for nothing.
note: I did the task before asking here what should I do because I had time and I just thought it would be a good learning experience doing it. But I wouldn't like someone to take advantage of my work with nothing in exchange.
edit: I am in California.
The recruiter is from the company itself.