Added basic marginal tree traversal unit test.