Stop trying to fix your AI-generated tests; they are doing the job they were built for, and that job is supposed to be simple ...