https://www.businessinsider.com/late-night-text-from-recruiter-you-might-get-next-job-2023-10
Like seriously, this is so beyond okay. These kinds of little tests are BS and I would love to see any data that shows they are a predictor of performance.
If they try to pull this stuff on you, don't engage. If they don't take you for this reason, it's a bullet dodged!