For my jobs, I typically have to do about three tests--usually a couple of assessments that take about an hour total, and a writing/editing test. That test can take anywhere from an hour to four hours... and there's never been any consideration of getting paid for that time.
I have declined to do writing tests that would take longer than a couple of hours. If that's their expectation during the hiring process, it's not a good indication for the company.