Then you write another test. That's the whole point of TDD. As you keep writing more tests, the closer it gets to its final form.
Yeah, me neither…
oh no! another bug!
I agree rigidly defining exactly what the code does through tests is harder than people think.