Add NonRecursive tests to codegen.
Fix warnings/errors.
Removed unnecessary build log message.