removed some test code from postOrderVisit, and fixed the test code