Added a test which verifies that the tree walkers are kept.