Unpaid test task, offer a paid one
Agencies and companies hiring ongoing freelancers often send a "short test". This says yes to the test and no to doing it for free.
Hi [client name],
Thanks for moving me to the next stage. I'll do a test task, as a paid one: [test scope], at my usual rate of [rate], so [amount] in total. I can deliver it by [date].