Added tests for traversal utils.