Fix warnings in tree.c test code.