Added tests for traversal.