Try it, then get back to me about whether the test is "flawed." I guarantee that a frontier model will find more bugs in your code than you will find it a similar volume of code it wrote. I absolutely guarantee it.
Every developer needs to experience this particular flavor of ego death. Me, you, everybody.