Doubt it, code will be generated to pass tests, not the intent behind the tests.
"8 unit tests? Great, I'll code up 8 branches so all your tests pass!" Of course that neglects the fact that there's now actually 2^8 paths through your code.
Perhaps more advanced llms + specifications + better tests.