"Predicting the next word" is never going to facilitate modifying complex code in any way that won't be a disaster. Creating sensible, useful, comprehensive tests requires a comprehensive understanding of the code -- there is no shortcut for any but the simplest of algorithms.
"Short cuts make long delays." --Tolkien