IMHO, Testing is one thing that needs to be inspected when it comes to AI code generation
You have full control over generated tests. Also, I put focus on putting as much control as possible, so you can set different inputs to reach higher quality of generated tests.
At the end, you add or append file with generated tests, so you have full control over them.